/**
 * @author: SEKin
 * @Date: 2025-02-28 17:32:58
 * @description:
 * @Last Modified time: 2025-02-28 17:32:58
 */

import DefaultTheme from 'vitepress/theme';
import { EnhanceAppContext } from 'vitepress';
import { Demo } from '../components/index';
import 'virtual:uno.css';

export default {
  ...DefaultTheme,
  enhanceApp(ctx: EnhanceAppContext) {
    DefaultTheme.enhanceApp(ctx);
    const { app } = ctx;
    app.component('Demo', Demo);
    console.log(app);
    // 应用组件库提供的主题插件

    // 注册其他插件、全局组件、provide...
  },
};
